package xin.mashibo.pattern.abstractfactory;

import java.util.ArrayList;

/**
 * @author MaShibo
 * 日期 :  2019/1/23
 */
public abstract class Tray extends Item {

    protected ArrayList<Item> tray = new ArrayList<>();

    public Tray(String caption) {
        super(caption);
    }

    public void add(Item item) {
        tray.add(item);
    }

}
